package com.xbongbong.parent.interfaces.explain;

import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.businessdata.pojo.dto.FormatExplainDTO;

import java.util.List;

/**
 * 各个业务处理字段解释接口方法
 * @author 吴峰
 * @date 2022/01/18 15:11
 */
public interface BusinessExplainHandle {


    /**
     * 返回业务类型
     * @return
     */
    List<Integer> businessType();


    /**
     * 新建的业务层处理字段解释
     * 重构于-》com.xbongbong.saas.help.SaasAddHelp#formatExplain(com.xbongbong.pro.businessdata.pojo.dto.FormatExplainDTO)
     * @param formatExplainDTO
     * @return
     * @throws XbbException
     *
     */
    List<FieldAttrEntity> newHandleExplain(FormatExplainDTO formatExplainDTO) throws XbbException;



}
